import { IFeidaoAiMobile } from '@dfeidao/atom-mobile/interfaces';
import React from 'react';
import { Dimensions, Image, ImageBackground, ScrollView, Text, TouchableWithoutFeedback, View } from 'react-native';

const w = Dimensions.get('window');

const size = {
	height: w.height,
	width: w.width
};

export default function tpl(a: (action: string, ...args: unknown[]) => ((...args: unknown[]) => void), s: (...class_names: string[]) => {}, d: (d: string) => string | unknown[], fd: IFeidaoAiMobile) {
	return (<ScrollView
		showsHorizontalScrollIndicator={false}
		bounces={false}
		pagingEnabled={true}
		horizontal={true}>
		{/* <Image style={size} source={require('../../imgs/1引导图.png')} /> */}
		<ImageBackground style={size} source={require('../../imgs/1引导图.png')}>
			<Text onPress={a('a003')} style={s('tiaoguo')}>跳过</Text>
		</ImageBackground>
		<ImageBackground style={size} source={require('../../imgs/2引导图.png')}>
		</ImageBackground>
		<ImageBackground style={size} source={require('../../imgs/3引导图.png')} >
			<View style={s('pos')}>
				<Text onPress={a('a001')} style={s('btn')}>立即体验</Text>
			</View>
		</ImageBackground>
	</ScrollView>);
}
